﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WhutDoomCheck.Shared.ExcelModels
{
    [ExcelExporter(Name = "学生信息", TableStyle = OfficeOpenXml.Table.TableStyles.Light1, AutoFitAllColumn = true)]
    public class FinishedStudent
    {
        [ExporterHeader(DisplayName = "学号")]
        public string Sno { get; set; } = null!;

        [ExporterHeader(DisplayName = "年级")]
        public int Grade { get; set; }

        [ExporterHeader(DisplayName = "姓名")]
        public string Name { get; set; } = null!;

        [ExporterHeader(DisplayName = "民族")]
        public string Ethnic { get; set; } = null!;

        [ExporterHeader(DisplayName = "学院")]
        public string School { get; set; } = null!;

        [ExporterHeader(DisplayName = "性别")]
        public string Gender { get; set; } = null!;

        [ExporterHeader(DisplayName = "培养方式")]
        public string CultureMethod { get; set; } = null!;

        [ExporterHeader(DisplayName = "专业")]
        public string Major { get; set; } = null!;

        [ExporterHeader(DisplayName = "联系方式")]
        public string Contact { get; set; } = null!;

        [ExporterHeader(DisplayName = "辅导员")]
        public string Counsellor { get; set; } = null!;

        [ExporterHeader(DisplayName = "导师")]
        public string GuideName { get; set; } = null!;

        [ExporterHeader(DisplayName = "导师联系方式")]
        public string GuideContact { get; set; } = null!;

        [ExporterHeader(DisplayName = "是否校内住宿")]
        public string IsInSchool { get; set; } = null!;

        [ExporterHeader(DisplayName = "校区")]
        public string Region { get; set; } = null!;

        [ExporterHeader(DisplayName = "住宿区域")]
        public string Area { get; set; } = null!;

        [ExporterHeader(DisplayName = "楼栋")]
        public string Building { get; set; } = null!;

        [ExporterHeader(DisplayName = "楼层")]
        public string Floor { get; set; } = null!;

        [ExporterHeader(DisplayName = "房间号")]
        public string RoomNumber { get; set; } = null!;

        [ExporterHeader(DisplayName = "床位号")]
        public string BedNum { get; set; } = null!;

        [ExporterHeader(DisplayName = "校外住宿地址")]
        public string? Address { get; set; } = null!;

        [ExporterHeader(DisplayName = "是否已修改")]
        public string Modified { get; set; } = null!;
    }
}
